<!DOCTYPE html>
<html lang="en"
      xmlns:th="http://www.thymeleaf.org">
<head th:replace="fragments/fragment_head ::head">
</head>
<body>
<nav th:replace="fragments/top_header :: header(1)"></nav>
<div class="container">
    <h3 th:text="${userModel.title}">查看用户原型</h3>

    <div>
        <a href="list.html" th:href="@{/users}" role="button" class="btn btn-primary">返回</a>
    </div>
    <div class="container">
        <p>
            <strong>ID :<span th:text="${userModel.user.id}">1</span> </strong>
        </p>
        <p>
            <strong>姓名 :<span th:text="${userModel.user.name}">张三</span> </strong>
        </p>
        <p>
            <strong>创建时间 :<span th:text="${#dates.format(userModel.user.cruetTime, 'yyyy-MM-dd HH:mm:ss')}">2017-12-22</span> </strong>
        </p>
    </div>
</div>
<nav th:replace="fragments/foor_footer :: footer"></nav>
</body>
</html>